package com.atguigu.springboot.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.stereotype.Component;

import java.util.List;

//@Component
@ConfigurationProperties(prefix = "atguigu")
@Data
public class AtguiguConfig {

    private String schoolName;
    private Integer schoolAge;
    private List<String> schoolSubject;

}
